/*
 * =====================================================================================
 *
 *       Filename:  cl_string_tokenizer.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  12/06/2010 07:16:25 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Chen Ken (Ken), zlchen.ken@gmail.com
 *        Company:  EMC
 *
 * =====================================================================================
 */

#ifndef _CL_STRING_TOKENIZER_H_
#define _CL_STRING_TOKENIZER_H_

#include <vector>
#include <string>

namespace neo
{
class CLStringTokenizer
{
public:
	explicit CLStringTokenizer( char delimiter );
	~CLStringTokenizer();
	typedef std::vector<std::string> StringVector;
	void tokenize( const std::string&, CLStringTokenizer::StringVector& ) const; 

private:
	const char m_delimiter;
};
} // neo

#endif //_CL_STRING_TOKENIZER_H_

